Query Tool

The Query Tool provides a convenient way to execute SQL SELECT queries against a model in erwin Data Modeler (DM), a model in a mart, or against a database catalog. You can execute a query against the objects and properties in the model, the metadata defining those objects and properties, and the action log that records the changes that are made to your model during the modeling session.

To access the Query Tool, do the following:

  1. Start erwin Data Modeler (DM).
  2. On the ribbon, click the Tools tab.
  3. Click (Query Tool).
  4. Enter your query in the Query box, or click the paste button on the toolbar to paste a query from another source.
    Note: Before you can execute a query you must be connected to erwin ODBC or to a database.
    • Click Execute ODBC_Execute on the toolbar.
      The results of query execution are displayed in the Results box.

For more information about the Query Tool, refer to its documentation.